package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: ruohao
 * @Date: 2023/8/31
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Report extends BaseEntity {
    private Long id;
    private Long customerId;
    private String location;
    private String imageUrl;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bookTime;
    private String deviceId;
    private String deviceName;
    private Long keeperId;
    private String status;
    private String extra;
    private String comment;
    private String area;
    private String keepImageUrl;
    private String keepContent;
    private String type;

    private String keeperName;

    private String customerName;
}
